package com.yishun.springboot.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.alibaba.fastjson.JSONObject;
import com.yishun.springboot.mapper.TbAuthoritylevelMapper;
import com.yishun.springboot.service.TbAuthoritylevelService;
import com.yishun.springboot.util.ResultUtils;

@Service
public class TbAuthoritylevelServiceImpl implements TbAuthoritylevelService {

	@Autowired
	TbAuthoritylevelMapper tbAuthoritylevelMapper;

	@Override
	public JSONObject getTbAuthoritylevelAll() {
		JSONObject a = ResultUtils.jsonSuccess(tbAuthoritylevelMapper.getTbAuthoritylevelAll());
		return a;
	}

}
